<?php

namespace Yxy\YWechat;

use Illuminate\Support\ServiceProvider;

class YWechatProvider extends ServiceProvider
{
    public function boot()
    {
        if (!file_exists(config_path('ywechat.php'))) {
            // 发布配置文件
            $this->publishes([
                __DIR__ . '/config/ywechat.php' => config_path('ywechat.php'),
            ], 'laravel-assets');
        }

    }

    public function register()
    {
        // 注册包的其他功能
    }
}